package com.luoran.bartalks.entity.biz;

import java.io.Serializable;
import java.util.Date;

import org.beetl.sql.core.annotatoin.AssignID;

import com.luoran.bartalks.entity.BaseInfo;

/**
 * 用户操作日志表
 */
public class BtOperationLog extends BaseInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	public BtOperationLog() {
	}

	/**
	 * 主键
	 */
	@AssignID("uuid")
	public String getId() {
		return getString("id");
	}

	public void setId(String id) {
		set("id", id);
	}

	/**
	 * 公司ID
	 */
	public String getCompanyId() {
		return getString("companyId");
	}

	public void setCompanyId(String companyId) {
		set("companyId", companyId);
	}

	/**
	 * 操作人
	 */
	public String getOperator() {
		return getString("operator");
	}

	public void setOperator(String operator) {
		set("operator", operator);
	}

	/**
	 * 操作人ID
	 */
	public String getOperatorId() {
		return getString("operatorId");
	}

	public void setOperatorId(String operatorId) {
		set("operatorId", operatorId);
	}

	/**
	 * 操作时间
	 */
	public Date getOperateDate() {
		return getDate("operateDate");
	}

	public void setOperateDate(Date operateDate) {
		set("operateDate", operateDate);
	}
	
	/**
	 * 操作时间字符串
	 */
	public String getOperateDateStr() {
		return getString("operateDateStr");
	}

	public void setOperateDateStr(String operateDateStr) {
		set("operateDateStr", operateDateStr);
	}

	/**
	 * 操作类型,根据枚举获取
	 */
	public Integer getOperationType() {
		return getInteger("operationType");
	}

	public void setOperationType(Integer operationType) {
		set("operationType", operationType);
	}
	/**
	 * 操作类型字符串
	 */
	public String getOperationTypeStr() {
		return getString("operationTypeStr");
	}

	public void setOperationTypeStr(String operationTypeStr) {
		set("operationTypeStr", operationTypeStr);
	}
}